import axios from "axios";
const request = axios.create({
    baseURL:"/path",
    timeout:10000,
    headers:{},
})
request.interceptors.request.use(
    function(config){
        return config
    }
)
request.interceptors.response.use(
    function(response){
        console.log(response);
        return response.data
    }
,function(error){
    return Promise.reject(error)
})
export default request;